import request from '@/utils/request';

/**
 * 邮箱登录API
 *
 * @param data {LoginData}
 * @returns
 */
export function getUserList(data: any) {
	return request({
	  url: "/getUserList",
	  method: "get",
	  data: data,
	  headers: {
		"Content-Type": "multipart/form-data",
	  },
	});
}
export function getUserInfo(data: any) {
	return request({
	  url: "/getUserInfo",
	  method: "post",
	  data: data,
	  headers: {
		"Content-Type": "multipart/form-data",
	  },
	});
}

// 默认全部导出
export default {
	getUserList,
	getUserInfo
}